//
//  CAnAlgGrandActivity+Desc.m
//  CareRing
//
//  Created  on 2024/12/14.
//
    

#import "CAnAlgGrandActivity+Desc.h"
#import "ConfigModel.h"

@implementation CAnAlgGrandActivity (Desc)
-(NSString *)wholeDesc
{

    NSMutableString *infoString = [NSMutableString new];
    [infoString appendFormat:@"Year:%lu, Month:%lu, Day:%lu,", (unsigned long)self.year, (unsigned long)self.month, (unsigned long)self.day];
    [infoString appendFormat:@"Walkseps: %lu, Runsteps:%lu, Other steps:%lu, ", self.totalWalkSteps, self.totalRunSteps, self.totalRunSteps ];
    
    [infoString appendFormat:@"Total energy: %lu Kcal, Total activity energy:%lu Kcal, MET:%.2f (MET), Discance:%.2f Km", self.totalEnergy, self.totalActivityEnergy, self.met, self.totalDistance];

    
    return infoString;
    
}

@end
